package com.hz.basic.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.common.utils.PageUtils;
import com.hz.common.utils.Query;

import com.hz.basic.dao.CbStiffChapterPictureDao;
import com.hz.basic.entity.CbStiffChapterPictureEntity;
import com.hz.basic.service.CbStiffChapterPictureService;


@Service("cbStiffChapterPictureService")
public class CbStiffChapterPictureServiceImpl extends ServiceImpl<CbStiffChapterPictureDao, CbStiffChapterPictureEntity> implements CbStiffChapterPictureService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbStiffChapterPictureEntity> page = this.page(
                new Query<CbStiffChapterPictureEntity>().getPage(params),
                new QueryWrapper<CbStiffChapterPictureEntity>()
        );

        return new PageUtils(page);
    }

}